import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import '@/assets/styles/border.css'
import '@/assets/styles/reset.css'
import '@/assets/styles/variables.module.scss'
import '@/router/permission'

// 国际化中文
import zhCn from 'element-plus/es/locale/lang/zh-cn'

//Svg图标
import SvgIcon from '@/icons'

//vue-quill富文本组件
import { QuillEditor } from '@vueup/vue-quill'
import '@vueup/vue-quill/dist/vue-quill.snow.css';

import ECharts from "vue-echarts";
import "echarts";

const app = createApp(App)
app.use(store)
app.use(router)
app.use(ElementPlus, {
    locale: zhCn,
})
SvgIcon(app);
app.mount('#app')
app.component('QuillEditor', QuillEditor)
app.component('ECharts', ECharts)